package com.vcredit.creditcat.dto;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

public class MessageDto implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long msgId;// 消息ID
	@JsonProperty("isRead")
	private Boolean isRead;// 是否已读
	private String title;// 标题
	private String content;// 内容
	private long time;//消息时间

	public MessageDto() {
		super();
	}

	public MessageDto(Long msgId, Boolean isRead, String title, String content,long time) {
		super();
		this.msgId = msgId;
		this.isRead = isRead;
		this.title = title;
		this.content = content;
		this.time = time;
	}

	public Long getMsgId() {
		return msgId;
	}

	public void setMsgId(Long msgId) {
		this.msgId = msgId;
	}

	public Boolean getIsRead() {
		return isRead;
	}

	public void setIsRead(Boolean isRead) {
		this.isRead = isRead;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}
}
